// "name", location id (momentan auch text id), sector id
// Area  links oben x y   rechts unten x y

// Faction <>:
// Faction_HumanPlayer		= 0
// Faction_HumanMilitia		= 1
// Faction_Deidranna		= 2 (default)
// Faction_HillBillies		= 3
// Faction_KillTarget		= 4
// Faction_VillagePeople	= 5

// City: Tag location as city
// PlayerBase: Tag as spawnpoint for players mercs
// EnemyBase: Tag as spawnpoint for enemy soldiers

// Function <>: 
// Airport, HideOut, Housing (default), Shop, Industry, Oasis, Bar, RoadBlock, JunkYard, Prison, 
// Hospital, Farm, SAM, Mine, Barracks, Cave, Laboratory, RoadBlock, GasStation, Harbor

// Income <amount>: define daily income (default 0)

// MilSlots <Define the maximum amount of Militia to have> (default 0)
// DefSlots <Define the maximum amount of Defenders to spawn> (default 0)

// Defenders: Define the amount of default defenders per level (5)

// ConquestAchievement <Ach>: Achievement to unlock if player conquers the location. Same as in jar_steam_achievements.doc

// Description <TextId>
// Picture <TextureIndex> <x> <y>

// DRASSEN AIRPORT - finished
// ==========================
Location ("c8_drassen_airport", 52, 35)
{
 Area 2030 440  2200 560
 Function Airport
 PlayerBase
 Income 100
 MilSlots 19
 DefSlots 127
 Defenders 127 0 0 0 0

 Description 620
 Picture 1 1 1

 ConquestAchievement 28
}

// DRASSEN CITY - finished
// =======================
Location ("c9_drassen", 53, 36)
{
 Area 2058 749  2211 850
 Area 2020 670  2211 749
 Area 2140 850  2239 880
 City
 Income 1000
 MilSlots 20
 DefSlots 145
 Defenders 145 0 0 0 0

 Description 621
 Picture 1 2 1
}

// DRASSEN ROADBLOCK - finished
// ============================
Location ("landmark_9", 47, 9)
{
 Area 1795 735  1946 856
 Function RoadBlock
 MilSlots 19
 DefSlots 108
 Defenders 108 0 0 0 0

 Description 622
 Picture 1 2 0
}

// DRASSEN WATERPUMP - finished
// ============================
Location ("water_pump_10", 51, 10)
{
 Area 1950 930  2050 1030
 //Function Bar
 MilSlots 14
 DefSlots 113
 Defenders 113 0 0 0 0

 Description 623
 Picture 1 0 1
}

// CAMBRIA MINE - finished
// =======================
Location ("c4_cambria_mine", 46, 34)
{
 Area 1620 915  1765 1020
 Function Mine
 //Income 2500
 Income 4000
 MilSlots 17
 DefSlots 135
 Defenders 90 45 0 0 0

 Description 624
 Picture 1 1 0
}

// CAMBRIA NORTH HIDEOUT
// =====================
Location ("landmark_08", 42, 8)
{
 Area 1432 662 1506 757
 Faction 3
 Function Hideout
 MilSlots 14
 DefSlots 117
 Defenders 78 39 0 0 0

 Description 634
 Picture 0 3 7
}

// CAMBRIA HOSPITAL - finished
// ===========================
Location ("c4_cambria_hospital", 41, 32)
{
 Area 1397 965  1518 1033
 Function Hospital
 //Income 50
 Income 100
 MilSlots 20
 DefSlots 132
 Defenders 88 44 0 0 0

 Description 625
 Picture 0 2 7
}

// CAMBRIA UNIVERSITY - finished
// =============================
Location ("c4_cambria_university", 56, 32)
{
 Area 1440 886  1569 965
 Function Laboratory
 MilSlots 16
 DefSlots 125
 Defenders 84 41 0 0 0

 Description 626
 Picture 1 0 2
}

// CAMBRIA CITY - finished
// =======================
Location ("c5_cambria_city", 40, 33)
{
 Area 1435 1070  1592 1240
 City
 //Income 350
 Income 900
 MilSlots 35
 DefSlots 142
 Defenders 0 142 0 0 0
 
 //Faction 0 //test

 Description 627
 Picture 0 1 7

 ConquestAchievement 31
}

// CANNIBALS FARM - finished
// =========================
Location ("farm_13", 37, 13)
{
 Area 1135 1030  1290 1175
 Faction 3
 Function Farm
 //Income 25
 Income 100
 MilSlots 12
 DefSlots 117
 Defenders 30 30 30 10 17
 
 //Faction 0 //test

 Description 629
 Picture 0 3 6
}

// CAMBRIA SAM SITE - finished
// ===========================
Location ("sam_14", 45, 14)
{
 Area 1625 1110  1750 1210
 Function SAM
 MilSlots 13
 DefSlots 111
 Defenders 0 111 0 0 0

 Description 630
 Picture 1 0 0
}

// CAMBRIA SOUTH HIDEOUT - finished
// ================================
Location ("mountain_pass_01", 8, 17)
{
 Area 1568 1302   1694 1420
 Function Hideout
 DefSlots 117
 Defenders 0 117 0 0 0

 Description 634
 Picture 0 3 1
}

// DRASSEN SOUTHWEST ROADBLOCK - finished
// ======================================
Location ("road_block_28", 50, 28)
{
 Area 1845 1120  1935 1235
 Function RoadBlock
 MilSlots 18
 DefSlots 118
 Defenders 0 118 0 0 0

 Description 622
 Picture 1 3 0
}

// SAN MONA - finished
// ===================
Location ("c21_san_mona", 34, 45)
{
 Area 823 692 1025 880
 City
 //Income 400
 Income 1200
 MilSlots 30
 DefSlots 143
 Defenders 50 45 48 0 0

 Description 643
 Picture 0 2 6

 ConquestAchievement 34
}

//FARM EAST OF SAN MONA - finished
// ===============================
Location ("farm_07", 38, 7)
{
 Area 1139 703 1222 800
 Faction 3
 Function Farm
 Income 100
 MilSlots 17
 DefSlots 110
 Defenders 40 40 30 0 0

 Description 656
 Picture 0 0 7
}

// JUNKYARD - finished
// ===================
Location ("junk_yard_06", 30, 6)
{
 //Primary Location Junkyard
 Area 632 738 748 838
 Area 600 720 632 745
 //Second Location Hideout
 //Area 585 709 650 758
 Function JunkYard
 //Income 25
 Income 100
 MilSlots 17
 DefSlots 105
 Defenders 0 0 105 0 0

 Description 628
 Picture 0 3 5
}

// SUPPLY DEPOT - finished
// =======================
Location ("depot_11", 29, 11)
{
 //Area 491 1148 582 1202
 Area 490 1121 603 1228
 Function Industry
 MilSlots 20
 DefSlots 130
 Defenders 0 0 130 0 0

 Description 646
 Picture 0 2 5
}

// REBELS HIDEOUT - finished
// =========================
Location ("hideout_12", 33, 12) 
{
 //Rebel Hideout 
 Area 890 1122 1025 1235
 Faction 1
 Function Cave
 MilSlots 100
 DefSlots 122
 Defenders 50 40 32 5 5

 Description 654
 Picture 0 1 6
}

// ESTONI - finished
// =================
Location ("estoni_junkyard", 32, 37)
{
 Area 930 1310 1115 1470
 City
 //Income 150
 Income 100
 MilSlots 18
 DefSlots 121
 Defenders 0 60 61 0 0

 Description 640
 Picture 0 0 6
}

// DUMPED CONTAINERS - finished
// ============================
Location ("junk_yard_16", 14, 16)
{
 Area 1256 1331   1340 1420
 Area 1125 1336   1256 1415
 Function JunkYard
 //Income 45
 Income 100
 MilSlots 16
 DefSlots 106
 Defenders 0 60 46 0 0

 Description 649
 Picture 0 3 2
}

// MEDUNA AIRPORT - finished
// =========================
Location ("meduna_airport", 0, 39)
{
 Area 430 2245   595 2450
 Function Airport
 Income 100
 MilSlots 20
 DefSlots 136 
 Defenders 30 30 30 30 16

 Description 658
 Picture 0 0 0
}

// MEDUNA SAM - finished
// =====================
Location ("meduna_sam", 1, 40)
{
 Area 660 2260	810 2460
 Function SAM
 MilSlots 18
 DefSlots 136
 Defenders 30 30 30 30 16

 Description 630
 Picture 0 1 0
}

// Overland_23
Location ("diner_01", 2, 23)
{
 Area 550 1965   760 2200
 Function Bar
 //Income 100
 Income 100
 MilSlots 16
 DefSlots 116
 Defenders 0 0 0 116 0

 Description 632
 Picture 0 2 0
}

Location ("gas_01", 3, 24)
{
 Area 879 2031   1060 2155
 Function GasStation
 //Income 100
 Income 400
 MilSlots 18
 DefSlots 122
 Defenders 0 0 0 122 0

 Description 631
 Picture 0 3 0
}

// Overland 25 Gas station west road block
Location ("road_block_01", 4, 25)
{
 Area 1205 2100   1340 2195
 Function RoadBlock
 MilSlots 16
 DefSlots 116
 Defenders 0 0 0 0 20

 Description 622
 Picture 0 0 1
}

// Overland 26 - Road block Balime Slum east road block
Location ("road_block_02", 6, 26)
{
 Area 1600 2010	 1738 2109
 Function RoadBlock
 MilSlots 13
 DefSlots 119
 Defenders 0 0 0 0 20

 Description 622
 Picture 0 1 1
}

// Overland 27
Location ("sam_station_03", 7, 27)
{
 Area 2200 1930   2390 2085
 Function SAM
 MilSlots 16
 DefSlots 121
 Defenders 20 30 30 30 11

 Description 630
 Picture 0 2 1
}

// Orta north hideout
Location ("swamp_hideout_01", 9, 20)
{
 Area 1141 1649	  1234 1767
 Function Hideout
 MilSlots 20
 DefSlots 115 
 Defenders 0 25 40 50 0

 Description 634
 Picture 0 0 2
}

// Overland 20 Tixa south west supply depot 
Location ("supply_depot_01", 10, 20)
{
 Area 1365 1800   1435 1882
 Area 1261 1810   1365 1900
 Function Industry
 MilSlots 17
 DefSlots 115
 Defenders 30 30 30 25 0

 Description 646
 Picture 0 1 2
}

// Overland 26 - Hideout Tixa south west hideout
Location ("oasis_01", 12, 26)
{
 Area 1460 1930   1540 2010
 Function Hideout
 MilSlots 16
 DefSlots 119
 Defenders 30 30 30 20 9

 Description 634
 Picture 0 2 2
}

Location ("balime_slum", 15, 29)
{
 Area 1830 2052   2035 2156
 Function Hideout
 //MilSlots 9
 DefSlots 112
 Defenders 22 20 30 30 10

 Description 651
 Picture 0 0 3
}


//Balime Slum north stakeout post
Location ("road_block_21", 16, 21)
{
 Area 1921 1734   2059 1859
 Function RoadBlock
 //MilSlots 2
 DefSlots 112
 Defenders 0 0 112 0 0

 Description 622
 Picture 0 1 3
}

Location ("crashed_truck", 17, 18)
{
 Area 1850 1327   1970 1455
 Function JunkYard
 MilSlots 16
 DefSlots 116
 Defenders 40 40 36 0 0

 Description 636
 Picture 0 2 3
}

//Overland 19 Tankstop Supermarket
Location ("shop_19", 18, 19)
{
 Area 605 1695   700 1800
 Function Shop
 //Income 70
 Income 100
 MilSlots 15
 DefSlots 110
 Defenders 25 30 30 20 5

 Description 633
 Picture 0 3 3
}


//Alma south road block
Location ("road_block_22", 21, 22)
{
 Area 2115 1641   2254 1764
 Function RoadBlock
 MilSlots 16
 DefSlots 110
 Defenders 0 0 0 110 0

 Description 622
 Picture 0 0 4
}

Location ("orta_laboratory", 22, 44)
{
 Area 935  1725   1014 1792
 Area 1014 1741   1072 1799
 Function Laboratory
 MilSlots 15
 DefSlots 137
 Defenders 0 0 97 20 20

 Description 635
 Picture 0 1 4
}

Location ("alma_baracks", 23, 30)
{
 Area 2120 1150   2260 1240
 Area 2260 1150   2280 1182
 Function Barracks
 EnemyBase
 MilSlots 13
 DefSlots 145
 Defenders 0 35 80 20 10

 Description 638
 Picture 0 2 4
}

Location ("alma_harbor", 24, 30)
{
 Area 2170 1240   2320 1330
 Area 2260 1182   2297 1240
 Function Harbor
 //Income 500
 Income 800
 MilSlots 15
 DefSlots 117
 Defenders 0 37 50 20 10

 Description 637
 Picture 0 3 4
}

//25 und 26 waren w locations die jetzt in city sind
Location ("alma_city", 27, 31)
{
 Area 2161 1448 2250 1485
 Area 2161 1485 2276 1568
 
 City
 //Income 3500
 Income 2500
 MilSlots 22
 DefSlots 127
 Defenders 0 37 60 20 10

 Description 639
 Picture 0 0 5

 ConquestAchievement 30
}

// Grumm east road block
Location ("road_block_15", 28, 15)
{
 Area 521 1310 600 1405
 Area 538 1405 595 1525
 Function RoadBlock
 MilSlots 20
 DefSlots 110
 Defenders 40 30 20 20 0

 Description 622
 Picture 0 1 5
}


// 49 war c17 Omerta

Location ("c22_tixa", 54, 46)
{
 Area 1530 1620  1720 1820
 Function Prison
 MilSlots 20
 DefSlots 143 
 Defenders 0 53 40 30 20

 Description 647
 Picture 1 3 1
}

// GRUMM CITY - finished
Location ("c11_grumm_city", 57, 38)
{
 Area 268 1326 433 1433
 City
 //Income, there is no mine, only some houses and three shops
 //Income 370
 EnemyBase
 Income 1000
 MilSlots 22
 DefSlots 123
 Defenders 33 30 30 30 0

 Description 641
 Picture 1 1 2

 ConquestAchievement 32
}

Location ("c14_meduna_city", 58, 41)
{
 Area 419 2485 640 2682
 City
 //Income 800
 Income 2000
 MilSlots 20
 DefSlots 170
 Defenders 25 25 50 40 30

 Description 645
 Picture 1 2 2

 ConquestAchievement 29
}

Location ("c15a_meduna_maze", 59, 42)
{
 Area 640 2516 766 2605
 Function Oasis
 //Dachte es wurden drei platziert
 //MilSlots 3
 DefSlots 134
 Defenders 14 30 30 30 30

 Description 652
 Picture 1 3 2
}

Location ("c15b_meduna_palace", 60, 43)
{
 Area 810 2507 1000 2657
 Function Housing
 EnemyBase
 //Income 10000
 Income 26000
 DefSlots 168
 Defenders 8 40 40 40 40

 Description 653
 Picture 1 0 3
}

Location ("c3_balime", 61, 47)
{
 Area 1770 2175 2070 2347
 City
 EnemyBase
 //Income 1000
 Income 1500
 MilSlots 29
 DefSlots 128
 Defenders 28 30 30 30 10

 Description 644
 Picture 1 1 3

 ConquestAchievement 33
}

Location ("c11_grumm_industrialpark", 62, 38)
{
 Area 252 1135 405 1312
 Function Harbor
 //Income + Mine here
 //Income 4100
 Income 10000
 MilSlots 18
 DefSlots 151
 Defenders 31 40 40 40 0

 Description 642
 Picture 1 2 3
}

Location ("alma_prison", 63, 31)
{
 Area 2184 1364 2290 1448
 Area 2250 1448 2290 1485
 Function Prison
 MilSlots 18
 DefSlots 126
 Defenders 0 26 60 30 10

 Description 648
 Picture 1 3 3
}

//Overland 19 Beachside - its the bar!
Location ("shop_19", 64, 19)
{
 Area 530 1660   595 1825
 Function Oasis
 //Income 55
 Income 100
 MilSlots 17
 DefSlots 109
 Defenders 24 30 30 20 5

 Description 650
 Picture 1 0 4
}

//San_Mona KingPins Mansion
Location ("san_mona kingpin", 65, 45)
{
 Area 880 880   994 947
 Area 930 947   970 956
 Function Hideout
 DefSlots 118  
 Defenders 30 40 48 0 0

 Description 655
 Picture 1 1 4
}



// TEST MAPS

Location ("test_characters", 19, 1)
{
 Area 1460 2320   1700 2480 
}

Location ("test_scene", 20, 3)
{
 //Area 1920 560   2000 660
 Area 1860 2620   2100 2780
 DefSlots 10
 Defenders 10 0 0 0 0
}

Location ("test_targeting", 13, 2)
{
 Area 1220 2520   1460 2680
}



//TUTORIAL MAP
//Location ("tutorial", 66, 48)
//{
// Area 1520 80 1650 220
// //Area 1900 550   2030 690
// Function Hideout //Function Tutorial? Now Combatlocation needed?
// DefSlots 6
// Defenders 5 1 0 0 0
// //Defenders 0 0 1 4 3
//}